package com.office.personalOffice.nameCard.nameCardList.dao;


import com.office.personalOffice.nameCard.nameCardList.pojo.OaNamecard;
import com.office.personalOffice.nameCard.nameCardList.pojo.OaNamecardlist;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface IsNameCardListDao {

    //根据条件查询名片夹分类(去重)
    public List<OaNamecardlist> getOaNamecardlistByOaNamecardlist(OaNamecardlist oaNamecardlist);


    //根据条件查询名片夹分类记录
    public List<OaNamecardlist> getRecordByOaNamecardlist(OaNamecardlist oaNamecardlist);


    //添加名片夹分类
    public Integer addOaNamecardlist(OaNamecardlist oaNamecardlist);


    //修改名片夹分类（更名）
    public Integer updateNameOaNamecardlist(OaNamecardlist oaNamecardlist);


    //修改名片夹分类（删除即更改可用状态  1可用0不可用）
    public Integer deleteOaNamecardlist(OaNamecardlist oaNamecardlist);


}
